import Vue from 'vue'
import VueRouter from 'vue-router'
import Carts from '../views/carts/index.vue'
Vue.use(VueRouter)

const routes = [
 {path:'/',component:()=>import('../views/Home.vue')},
 {path:'/carts/index',component:Carts}
]

const router = new VueRouter({
  routes
})

export default router
